Make the check script log to /tmp instead of the working directory. This
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 2 Sep 2005 07:55:45 +0000 (07:55 +0000)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 2 Sep 2005 07:55:45 +0000 (07:55 +0000)
allows us to install from a read-only file system (such as a cdrom).

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
tools/check/chk

index 0ebce4799e863e231067c3cc2282ea08336d6b09..c9b7adead57b3acbb66a0b9f8f26acf8fb252b71 100755 (executable)
@@ -17,14 +17,14 @@ export PATH=${PATH}:/sbin:/usr/sbin
 case $1 in
     build)
         check="CHECK-BUILD"
-        info=".chkbuild"
+        info="/tmp/xen.chkbuild"
         ;;
     install)
         check="CHECK-INSTALL"
-        info=".chkinstall"
+        info="/tmp/xen.chkinstall"
         ;;
     clean)
-        rm -f .chkbuild .chkinstall
+        rm -f /tmp/xen.chkbuild /tmp/xen.chkinstall
         exit 0
         ;;
     *)